package com.dl.dao;

import com.dl.pojo.Student;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StudentMapper {

    //查询
    public Student selStuByID(String ID);
    public List<Student> selStus();
    public List<Student> queryStus(Student student);
    //添加
    public int insertStu(Student student);
    public int insertStu2(String ID, int stu_class);
    //更改
    public int updateStu(Student student);
    public int updateStu2(Student student);
}
